import { Meta } from '@storybook/blocks';

import * as TransformStories from '../stories/Transform.stories';

<Meta of={TransformStories} />

# Transform

A widget that applies a transformation before painting its child.

## Example

```dart liveslice=Transform
Container(
  color: Colors.black,
  child: Transform(
    alignment: Alignment.topRight,
    transform: Matrix4.skewY(0.3)..rotateZ(-math.pi / 12.0),
    child: Container(
      padding: const EdgeInsets.all(8.0),
      color: const Color(0xFFE8581C),
      child: const Text('Apartment for rent!'),
    ),
  ),
)
```

## Related Links

- https://api.flutter.dev/flutter/widgets/Transform-class.html

